<template>
  <div>
    <van-button @click="goHome" type="primary">返回</van-button>
  </div>
</template>

<script lang="ts" setup="props">
import { useRouter } from "vue-router";
const router = useRouter();
const goHome = () => {
  router.push("/");
};
</script>

<style>

</style>